Mule : Mule Examples Webapp
This page last changed on Oct 02, 2006 by [email protected].
The Mule Webapp provides a user interface to some of the Mule examples such as the LoanBroker, Hello World and Echo examples. It also provides examples of accessing Mule using REST style service calls and is itself an example of how to embed Mule in a webapp. PrerequisitesYou should have the MULE_HOME environment variable set to the root of your Mule distribution. Preparation
Notes for Apache Tomcat 5.0This Mule sample has been tested on Apache Tomcat 5.0.28 and later Apache Tomcat comes with a JMX implementation that will conflict with that contained in the Mule web application. In the Tomcat bin directory, you will find a jar file called jmx.jar. Move this to a safe location. Copy the WEB-INF/lib/mx4j-3.0.1.jar file from the Mule webapp to the Tomcat bin directory, and rename it to jmx.jar. Now restart Tomcat is the Mule webapp context should start. Webapp ContentsThe webapp contains the following - mule.war |- html and jsps |- WEB-INF |- mule-config.xml - The Mule server shared configuration |- mule-echo-config.xml - Configuration for the echo example component |- mule-hello-config.xml - Configuration for the hello example |- mule-loanbroker-config.xml - Configuration for the loanbroker example |- mule-rest-config.xml - Configuration for the REST example |- web.xml - Webapp configuration |- lib | |- jars required by the Mule server |- classes |- compiled classes for the example applications |
![]() |
Document generated by Confluence on Oct 03, 2006 09:23 |